﻿using System;
using System.Collections.Generic;
using System.Net;

using NUnit.Framework;

using RexToy.Cassandra;

namespace UnitTest
{
    public class TestBase
    {
        protected static Cluster _cluster = new Cluster();
        protected const string KEY_SPACE = "RexSpace";

        static TestBase()
        {
            DnsEndPoint ep1 = new DnsEndPoint("d9w1160g.houston.hp.com", 9160);
            DnsEndPoint ep2 = new DnsEndPoint("d9w1161g.houston.hp.com", 9160);
            _cluster = new Cluster();
            _cluster.Initialize(new List<DnsEndPoint> { ep1, ep2 });
        }
    }
}
